from constants import EMPTY_REPLACEMENT
from tags.tag import TagBase


class TagAssign(TagBase):

    @classmethod
    def render(cls, params, context, transformer=None):
        equation_result = params[0].children[0]
        context.update(equation_result)
        return EMPTY_REPLACEMENT
